The Dreamweaver JavaScript API > History functions > dreamweaver.historyPalette.setSelectedSteps()

 

dreamweaver.historyPalette.setSelectedSteps()

Availability

Dreamweaver 3.0

Description

Selects the specified steps in the History panel.

Arguments

arrayOfIndices

arrayOfIndices is an array of position indices in the History panel. If no argument is supplied, all steps are deselected.

Returns

None.

Enabler

None.

Example

The following code selects the first, second, and third steps in the History panel :

dw.historyPalette.setSelectedSteps([0,1,2]);